home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / dircmdr1.zip / DIRCMDR.DOC < prev    next >
Text File  |  1991-07-01  |  10KB  |  214 lines

  1.         
  2.         
  3.                   DIRECTORY COMMANDER VERSION 1.10
  4.                   ================================
  5.         
  6.                  Copyright 1991 by Chuck Steenburgh
  7.         
  8.              DOS Version 5.00 adds many new features to the
  9.         venerable dir[ectory] command.  What makes these new
  10.         options even more useful is the addition of the en-
  11.         vironment variable DIRCMD.  By using DIRCMD, you can
  12.         store your favorite switches for the dir command in
  13.         the environment so you don't have to keep typing them
  14.         on the command line.
  15.         
  16.              The problem, of course, is that these switches
  17.         are still just as cryptic as ever.  For example, the
  18.         command:
  19.         
  20.                        dir /og
  21.         
  22.         means to show all files with subdirectories grouped
  23.         before the files.  Makes sense, doesn't it?  That's
  24.         what I said.
  25.         
  26.              I wrote DIRECTORY COMMANDER to make life a little
  27.         easier for myself.  Instead of requiring you to spend
  28.         10 minutes looking through your DOS 5.00 manual to rem-
  29.         ember what all those switches are so you can compose a
  30.         SET DIRCMD= line, DIRECTORY COMMANDER will guide you
  31.         through the process of selecting your desired options
  32.         from a simple, menu-driven display.  DIRECTORY COMMANDER
  33.         will then create a small batch file containing the
  34.         options you have selected.  Just execute this batch
  35.         file, and your preferences will be saved to the environ-
  36.         ment.
  37.         
  38.         
  39.         STARTING DIRECTORY COMMANDER
  40.         
  41.              Starting DIRECTORY COMMANDER couldn't be easier.
  42.         Simply type DIRCMDR at the command line.  You will see
  43.         a small box containing the words "DIRCMDr 1.1" at the
  44.         top of the screen, and two larger boxes below.
  45.         
  46.              The box on the left (surrounded by double lines)
  47.         contains the Directory Options menu.  Select these
  48.         options by pressing the first letter in the option name
  49.         (highlighted in blue on color displays).  Pressing the
  50.         first letter will toggle an "X" off and on next to the
  51.         option.  "X" means that option is currently selected.
  52.         
  53.              [ ] Pause when full
  54.         
  55.              This activates the /p switch.  When the screen fills,
  56.              you will be asked by DOS to press any key to continue.
  57.         
  58.         
  59.         
  60.              [ ] Wide format
  61.         
  62.              This activates the /w switch.  Filenames only will be
  63.              displayed in five columns across the screen.  Has no 
  64.              effect if the "File names only" option is selected.
  65.         
  66.              [ ] Subdirectories
  67.         
  68.              This activates the /s switch.  In addition to the cur-
  69.              rent directory, all subdirectories beneath it will be
  70.              included.
  71.         
  72.              [ ] File names only
  73.         
  74.              This will eliminate all of the "extraneous" information
  75.              from the listing, producing only a list of filenames
  76.              (in the format FILENAME.EXT) with no headers or footers.
  77.              Activates the /b switch.
  78.         
  79.              [ ] Lowercase only
  80.         
  81.              This activates the /l switch.  All file and directory
  82.              names will be displayed in lower case.
  83.         
  84.         
  85.              The box on the right side of the screen (initially
  86.         surrounded by single lines) contains what I call the two
  87.         "special options."  These are the /a (attribute) and /o
  88.         (order of sort) switches.  This large box is divided into
  89.         two smaller boxes, one for each of these two options.
  90.         
  91.              This menu operates a little differently.  Like the
  92.         simple Directory Options, "Attributes" and "Order of Sort"
  93.         can be selected by pressing the first letter of their
  94.         names (highlighted in blue).  Initially, both options are
  95.         turned off (no "X" displayed next to option name).  When
  96.         you press the "a" or "o" key for the first time, you will
  97.         activate that option AND the Special Options menu.  Note
  98.         that single lines will now appear around the Directory
  99.         Options Menu and double lines will appear around the 
  100.         appropriate portion of the Special Options menu.
  101.         
  102.              When the Special Options menu is active, you can
  103.         select additional options.  These options appear below
  104.         the words "Attributes" and "Order of Sort."  When you
  105.         select either "a" or "o", the corresponding set of
  106.         special options becomes actives (first letter is high-
  107.         lighted in green).  These options are described below:
  108.         
  109.         
  110.         
  111.         Attributes Special Options:
  112.         
  113.              Hidden (displays hidden files)
  114.              System (displays system files)
  115.              Directories (displays only subdirectories)
  116.              Archive (displays files needing backup)
  117.              Read Only (displays read only files)
  118.         
  119.         Order of Sort Special Options:
  120.         
  121.              Name (sorts by file name from a-z)
  122.              Extension (sorts by extension from a-z)
  123.              Date & Time (sorts by date & time, earliest to latest)
  124.              Size (sorts by size, smallest to largest)
  125.              Files First (displays all files before subdirectories)
  126.         
  127.              When you select one of the special options, a plus
  128.         sign (+) appears in front of that option.  This turns it
  129.         on.  Selecting the special option a second time puts a
  130.         minus sign (-) in front of the option.  This activates
  131.         the option "in reverse."  For the atttribute options, all
  132.         files which DO NOT possess this attribute will be displayed.
  133.         For order of sort options, the sort order will be reversed.
  134.         Selecting the option a third time will toggle it off.
  135.         
  136.              As long as the Special Options menu is active, you 
  137.         can toggle on/reversed/off as many of the appropriate
  138.         special options as you want.  When you are finished, press
  139.         ESC and the Directory Options Menu will be reactivated.
  140.         
  141.              When you are done selecting options, and the Directory
  142.         Options menu is active (surrounded by double lines), press
  143.         ESC to exit.  A message will appear in the lower left hand
  144.         corner displaying the SET DIRCMD= string which you have
  145.         created.  This string will be written to a batch file named
  146.         SETFILE.BAT in the current directory.
  147.         
  148.              Once you are back at the DOS command line, type SETFILE
  149.         and press enter to save your DIRCMD settings to the environ-
  150.         ment.  If you like, copy the contents of SETFILE.BAT to your
  151.         AUTOEXEC.BAT file so these options will be in effect every 
  152.         time you boot your machine.
  153.         
  154.              For those of you who want speedy results, I have in-
  155.         cluded the simple batch file DC.BAT.  DC.BAT starts DIRECTORY
  156.         COMMANDER and then immediately runs SETFILE.BAT, saving you
  157.         a few keystrokes.
  158.         
  159.         
  160.         
  161.         DISCLAIMER
  162.         
  163.              This program is guaranteed to do absolutely nothing.  The
  164.         author assumes no liability for any damage which may be caused
  165.         to your system, either directly or indirectly, through the use
  166.         of this program.  Use of this program is entirely AT YOUR OWN
  167.         RISK.
  168.         
  169.              That having been said, I can not imagine any possible
  170.         damage that this program could do to anyone's machine. I will
  171.         further state that it is my experience that this program func-
  172.         tions essentially as described in this documentation.  I assume
  173.         that it will function in a similar manner on your machine.
  174.         
  175.         
  176.         REGISTRATION
  177.         
  178.              This copyrighted program may be used and distributed 
  179.         freely for non-commercial